<template>
  <el-container>
    <el-aside width="200px">
      <h2>操作员菜单</h2>
      <el-menu default-active="1">
        <router-link :to="{name:'operator-add'}">
          <el-menu-item index="add">
            <el-icon>
              <CirclePlusFilled/>
            </el-icon>
            <span>添加货单</span>
          </el-menu-item>
        </router-link>
        <router-link :to="{name:'operator-view'}">
          <el-menu-item index="view">
            <el-icon>
              <View/>
            </el-icon>
            <span>查看已添加货单</span>
          </el-menu-item>
        </router-link>
        <router-link :to="{name:'operator-check'}">
          <el-menu-item index="check">
            <el-icon>
              <Check/>
            </el-icon>
            <span>验收货单</span>
          </el-menu-item>
        </router-link>
      </el-menu>
    </el-aside>
    <el-main>
      <router-view/>
    </el-main>
  </el-container>
</template>

<script>
import {CirclePlusFilled, View, Check} from '@element-plus/icons-vue'

export default {
  name: "OperatorView",
  data() {
    return {}
  },
  components: {
    CirclePlusFilled, View, Check
  }
}
</script>

<style scoped>

</style>